<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title></title>
        <script type="text/javascript" src="{{ static_url("components/requirejs/require.js") }}"></script>
        <script type="text/javascript" src="{{ static_url("config_test.js") }}"></script>
        <script>
        requirejs(['jquery', '/static/scales.js'], function ($, ColorScale) {
            console.log(ColorScale);
            var cs = new ColorScale($('#test'), [0xff0000, 0x00ffff, 0x00ff00], [0, 1, 2]);
        });
        </script>
    </head>
    <body>
        <div id="test"></div>
    </body>
</html>
